#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
const int maxn = 1e5+10;
int a[maxn];
int main()
{
	int n,ans = 1,ll = 1;
	scanf("%d",&n);
	for(int i = 0;i<n;i++)
	{
		scanf("%d",&a[i]);
		if(i!=0)
		{
			if(a[i]>=a[i-1]) ans++;
			else ans = 1;
			if(ll<ans) ll = ans;
		}
	}
	printf("%d\n",ll);
}
